$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;

.home {
  position: relative;
  width: 100%;
  .main{
    width: 80vw;
    margin: 8vw auto;
    .t{
      text-align: center;
      color: #C6C6C6;
      font-size: $fontSize_32;
      font-weight: 700;
      text-transform: uppercase;
      span{
        color:#000;
      }
    }
    .section_pro{
      width: 100%;
      margin: 6vw 0;
      .t2{
        color: #000;
        font-size: $fontSize_32;
        font-weight: 700;
        text-transform: uppercase;
      }
      .list{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        a{
          width: 25%;
          margin-top: 2vw;
          .pic{
            overflow: hidden;
            img{
              max-width: 90%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }
          }
          .name{
            color: #000;
            font-size: $fontSize_22;
            font-weight: 700;
            margin-top: 2vw;
          }
          &:hover{
            .pic{
              img{
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }
    .section_news{
      .t2{
        color: #000;
        font-size: $fontSize_32;
        font-weight: 700;
        text-transform: uppercase;
      }
      .list{
        a{
          display: block;
          margin-top: 2vw;
          .st{
            color: #000;
            font-size: $fontSize_28;
            font-weight: 700;
          }
          .des{
            font-size: $fontSize_14;
            color: #666;
            margin-top: 10px;
          }
        }
      }
    }
  }
  @media screen and (max-width: 1024px) {
    .main{
      width: 90%;
      margin: 70px auto;
      .t{
        font-size: 20px;
      }
      .section_pro{
        margin: 30px 0 50px 0;
        .t2{
          font-size: 18px;
        }
        .list{
          justify-content: space-between;
          a{
            width: 48%;
            margin-top: 15px;
            .pic{
              img{
                max-width: 100%;
              }
            }
            .name{
              font-size: 16px;
              margin-top: 15px;
            }
          }
        }
      }
      .section_news{
        .t2{
          font-size: 18px;
        }
        .list{
          a{
            margin-top: 20px;
            .st{
              font-size: 16px;
            }
            .des{
              font-size: 14px;
              line-height: 1.5;
              margin-top: 5px;
            }
          }
        }
      }
    }
  }
}